package com.zb.vo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * @Author WEN
 * @Date 2024/3/10 0010
 **/
@Data
@ApiModel("工单Sla对象")
public class OrderSlaVo {

    @ApiModelProperty(value = "工单ID")
    private Long workId;

    @ApiModelProperty(value = "是否已分配客服：false-未分配，true-已分配，默认未分配")
    private boolean assignServiceEmp = Boolean.FALSE;

    @ApiModelProperty(value = "条件类型：2-未派单，3-服务商未接单，4-工程师未接单，5-工程师未拨打电话，6-工程师未预约，7-工程师未签到")
    private Integer type;

    @ApiModelProperty(value = "工单节点是否超时：false-未超时，true-已超时")
    private boolean nodeTimeout = Boolean.FALSE;

    @ApiModelProperty(value = "工单节点超时时长")
    private String nodeTimeoutLength;

    public OrderSlaVo(Long workId) {
        this.workId = workId;
    }
}
